home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Together in Jesus: 1st Reconciliation Computer Fun
/
Together in Jesus - First Reconciliation - Computer Fun.iso
/
euch5.swf
/
scripts
/
frame_3
/
DoAction.as
Wrap
Text File
|
2007-11-18
|
589b
|
31 lines
this.h2_mc.onPress = function()
{
this.startDrag();
};
this.h2_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target2_mc) == true)
{
soundCheering1.start();
gotoAndStop(4);
}
else
{
soundMournfultrumpet.start();
h2_mc._y = targetright_mc._y;
h2_mc._x = targetright_mc._x;
}
};
this.d2_mc.onPress = function()
{
this.startDrag();
};
this.d2_mc.onRelease = function()
{
this.stopDrag();
soundMournfultrumpet.start();
d2_mc._y = targetleft_mc._y;
d2_mc._x = targetleft_mc._x;
};